class renyin {
  public static void main (String args[]) {
  int sum=0,i=0,j=0;
   for (i=1;i<=5212;i++) {
   sum = sum+i;}
  System.out.println(sum);
}
}
